/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.close.basic.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 企业人员信息
 *
 * @author pig
 * @date 2024-02-20 13:41:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ClosedPersonCompanyExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
    @ExcelProperty("ID")
	@ExcelIgnore
    private Long id;

	/**
	 * 所属企业
	 */
	@ExcelProperty("所属企业")
	@ExcelDictImportValidate(enumResolver = "sys_company", message = "企业名称数据解析异常")
	private String orgIdStr;

	/**
	 * 员工姓名
	 */
	@ExcelProperty("员工姓名")
	private String name;


	/**
	 * 定位卡号
	 */
	@ExcelProperty("定位卡号")
	private String cardNo;

	/**
	 * 定位卡类型
	 */
	@ExcelProperty("定位卡类型")
	@ExcelDictImportValidate(enumResolver = "close_employee_Type", message = "定位卡类型数据解析异常")
	private String employeeTypeStr;

	/**
	 * 员工性别
	 */
	@ExcelProperty("员工性别")
	@ExcelDictImportValidate(enumResolver = "gender", message = "员工性别数据解析异常")
	private String sexStr;

	/**
	 * 岗位名称
	 */
	@ExcelProperty("岗位名称")
	private String postName;


	/**
	 * 部门名称
	 */
	@ExcelProperty("部门名称")
	private String departName;

	/**
	 * 统一社会信用代码
	 */
	@ExcelProperty("统一社会信用代码")
	private String companySocialCode;

	/**
	 * 备注
	 */
	@ExcelProperty("备注说明")
	private String remark;

}
